/**
 * 
 */
package utility;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import wftElements.Activity;
import wftElements.ItemType;
import wftElements.LookupType;
import wftElements.Message;

/**
 * @author ashutosh
 *
 */
public class Process implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String versionMajor;
	private String versionMinor;
	private String language;

	private int accessLevel;
	
	private List<ItemType> itemTypeList;
	
	private List<Message> msgList;
	
	private List<Activity> actList;
	
	private List<LookupType> lookupTypeList;
	
	private String processName;
	
	private String mainProcessName;

	/**
	 * @return the mainProcessName
	 */
	public String getMainProcessName() {
		return mainProcessName;
	}

	/**
	 * @param mainProcessName the mainProcessName to set
	 */
	public void setMainProcessName(String mainProcessName) {
		this.mainProcessName = mainProcessName;
	}

	/**
	 * @return the processName
	 */
	public String getProcessName() {
		return processName;
	}

	/**
	 * @param processName the processName to set
	 */
	public void setProcessName(String processName) {
		this.processName = processName;
	}

	/**
	 * @return the versionMajor
	 */
	public String getVersionMajor() {
		return versionMajor;
	}

	/**
	 * @param versionMajor the versionMajor to set
	 */
	public void setVersionMajor(String versionMajor) {
		this.versionMajor = versionMajor;
	}

	/**
	 * @return the versionMinor
	 */
	public String getVersionMinor() {
		return versionMinor;
	}

	/**
	 * @param versionMinor the versionMinor to set
	 */
	public void setVersionMinor(String versionMinor) {
		this.versionMinor = versionMinor;
	}

	/**
	 * @return the language
	 */
	public String getLanguage() {
		return language;
	}

	/**
	 * @param language the language to set
	 */
	public void setLanguage(String language) {
		this.language = language;
	}

	/**
	 * @return the accessLevel
	 */
	public int getAccessLevel() {
		return accessLevel;
	}

	/**
	 * @param accessLevel the accessLevel to set
	 */
	public void setAccessLevel(int accessLevel) {
		this.accessLevel = accessLevel;
	}

	/**
	 * @return the itemTypeList
	 */
	public List<ItemType> getItemTypeList() {
		if(itemTypeList == null){
			itemTypeList = new ArrayList<ItemType>();
		}
		return itemTypeList;
	}

	/**
	 * @param itemTypeList the itemTypeList to set
	 */
	public void setItemTypeList(List<ItemType> itemTypeList) {
		this.itemTypeList = itemTypeList;
	}

	/**
	 * @return the msgList
	 */
	public List<Message> getMsgList() {
		if(msgList == null){
			msgList = new ArrayList<Message>();
		}
		return msgList;
	}

	/**
	 * @param msgList the msgList to set
	 */
	public void setMsgList(List<Message> msgList) {
		this.msgList = msgList;
	}

	/**
	 * @return the actList
	 */
	public List<Activity> getActList() {
		if(actList == null){
			actList = new ArrayList<Activity>();
		}
		return actList;
	}

	/**
	 * @param actList the actList to set
	 */
	public void setActList(List<Activity> actList) {
		this.actList = actList;
	}

	/**
	 * @return the lookupTypeList
	 */
	public List<LookupType> getLookupTypeList() {
		if(lookupTypeList == null){
			lookupTypeList = new ArrayList<LookupType>();
		}
		return lookupTypeList;
	}

	/**
	 * @param lookupTypeList the lookupTypeList to set
	 */
	public void setLookupTypeList(List<LookupType> lookupTypeList) {
		this.lookupTypeList = lookupTypeList;
	}
	
	
	
}
